<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>无标题文档</title>
    <link rel="stylesheet" type="text/css" href="css/htstart.css"/>
    <link rel="stylesheet" type="text/css" href="css/htenter.css"/>
</head>

<body onload="showTime()">
<div align="center" style="height:150px;">
    <div id="gmsctp">
        <img src="image/logo.jpg"/>
    </div>

    <div id="daohang">
        <ul>
            <li>
                <a href="#">首页</a></li>
            <li>
                <a href="#">用户</a></li>
            <li style="width:100px; background-size:100px 33px;">
                <a href="#">商品分类</a></li>
            <li>
                <a href="#">订单</a></li>
            <li style="width:100px; background-size:100px 33px;">
                <a href="#">商品详情</a></li>
            <li>
                <a href="#">公告</a></li>
        </ul>
    </div>

    <div id="time" >
        <font>管理员您好，今天是<span id="currentTime">2015-11-26</span>，欢迎回到管理后台。</font>
    </div>

    <div id="weizi">
        <font>您现在的位置: <a href="#">贵美商城</a> > 管理后台</font>
    </div>
</div>
<br />

<div align="center">
    <div id="denglu" >
        <div align="left">
            &nbsp;<img src="image/redarrows.jpg"/>&nbsp;<b>管理首页</b>
        </div>

        <hr color="#FF5F11" />
        <br /><br /><br /><br />

        <div id="hydl">欢迎登录贵美商城系统</div>
        <br /><br />

        <form action="/admin/login">
            <div id="xinxi">
                &nbsp;用户名：&nbsp;<input type="text" name="adminName"/><br /><br />
                登录密码:&nbsp;<input type="password" name="adminPwd" style="width:160px;"/>
            </div><br />

            <input name="submit" type="submit" id="submit" value="立即登录" />
        </form>
    </div>
</div>

<br /><br /><br />
<div id="xia">
    Copyright &copy; yangl ALL Rights Reserved.京ICP证1000001号
</div>
</body>

<script>

    function showTime(){
        let spanNode = document.getElementById("currentTime");
        spanNode.innerHTML = new Date().toLocaleTimeString();
    }

    //每隔多久调用一次该函数，1000毫秒
    setInterval("showTime()",1000)

</script>

</html>
